package com.yu.footballpromotionliveadmin.mapper;

import com.yu.footballpromotionliveadmin.pojo.CompetitionRecord;
import com.yu.footballpromotionliveadmin.pojo.CompetitionRecordExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface CompetitionRecordMapper {

    String getMaxUno();

    int deleteByKey(@Param("crno") String crno);

    int updateByPrimaryKey(@Param("record") CompetitionRecord record);

    long countByExample(CompetitionRecordExample example);

    int deleteByExample(CompetitionRecordExample example);

    int insert(CompetitionRecord record);

    List<CompetitionRecord> getCompetitionRecordByPage(Map<String, Object> map);

    CompetitionRecord selectByPrimaryKey(@Param("crno") String crno);

    int insertSelective(CompetitionRecord record);

    List<CompetitionRecord> selectByExample(CompetitionRecordExample example);

    int updateByExampleSelective(@Param("record") CompetitionRecord record, @Param("example") CompetitionRecordExample example);

    int updateByExample(@Param("record") CompetitionRecord record, @Param("example") CompetitionRecordExample example);
}